package com.xyht.sca_s.student_manage_system.modules.tips.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 消息通知与待办
 * </p>
 *
 * @author XYHT
 * @since 2023-02-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_tips")
@ApiModel(value="SmsTips对象", description="消息通知与待办")
public class SmsTips implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "通知标题")
    private String title;

    @ApiModelProperty(value = "通知描述")
    private String description;

    @ApiModelProperty(value = "通知类型  0：消息通知  1：待办通知")
    private Integer type;

    @ApiModelProperty(value = "通知应用路径")
    private String appPath;

    @ApiModelProperty(value = "通知应用路径")
    private String appName;

    @ApiModelProperty(value = "通知范围类型  0：全通知  1：个人通知  2：组织通知  3：角色通知")
    private Integer rangeType;

    @ApiModelProperty(value = "通知范围  [123,123,222,333]")
    private String tipsRange;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private String eventId;

    @ApiModelProperty(value = "教师学生标志  教师：0  学生：1")
    private Integer userType;

    @ApiModelProperty(value = "消息待办是否关闭  0：未关闭  1：已关闭")
    private Integer isClose;

    @ApiModelProperty(value = "过期时间")
    private Date expirationTime;

    @ApiModelProperty(value = "创建消息用户id")
    private String event_user;


}
